package com.hjl.sr.remoting;

import java.util.HashMap;
import java.util.Map;

public class LazyEncryptContext implements EncryptContext {

	private Map<String, String> headers = new HashMap<String, String>();
	
	public void addHeader(String name, String value) {
		headers.put(name, value);
	}

	public String getHeader(String name) {
		return headers.get(name);
	}

	public Map<String, String> getHeaders() {
		return headers;
	}

}
